@ibiz-template-plugin/ibiz-file-previewer 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -18420,7 +18420,7 @@ const ImagePage = (props) => {
18420
18420
  };
18421
18421
  if (props.state.value.mode === ImageMode.WIDTH) {
18422
18422
  Object.assign(result, {
18423
- width: "".concat(parentStyle.value.width * props.state.value.scale, "px")
18423
+ width: "".concat((parentStyle.value.width - 24 - 6) * props.state.value.scale, "px")
18424
18424
  });
18425
18425
  } else if (props.state.value.mode === ImageMode.PAGE) {
18426
18426
  Object.assign(result, {
@@ -18608,10 +18608,7 @@ const FilePreviewImageGroup = (props) => {
18608
18608
  /* @__PURE__ */ u(
18609
18609
  "div",
18610
18610
  {
18611
- className: "image-group-left-container",
18612
- style: {
18613
- visibility: state.value.showThumbnailPanel ? "visible" : "hidden"
18614
- },
18611
+ className: "image-group-left-container ".concat(state.value.showThumbnailPanel ? "image-group-left-container--open" : ""),
18615
18612
  children: /* @__PURE__ */ u(
18616
18613
  ThumbnailPanel,
18617
18614
  {